package org.csmz.class2334;

public class example15 {
    public static void main(String[] args){
        Animal animal = new Cat();
        if (animal instanceof dog14){
            dog14 dog = (dog14) animal;
            dog.houseKeep();
        }else{
            System.out.println("对象类型向下转换不合法");
        }
    }
}
